package model

type RegisterParam struct {
	Phone    string `form:"phone"`
	Pass     string `form:"pass"`
	Nickname string `form:"nickname"`
}

type LoginParam struct {
	Phone string `form:"phone"`
	Pass  string `form:"pass"`
}

type SendParcelParam struct {
	UserFrom   string  `form:"user_from"`
	UserTo     string  `form:"user_to"`
	PosFrom    string  `form:"pos_from"`
	PosTo      string  `form:"pos_to"`
	IsDoorTake bool    `form:"is_door_take"` // 是否上面取件
	Weight     float64 `form:"weight"`       // 包裹重量
	Company    string  `form:"company"`
}

type GetParcelParam struct {
	Phone string `form:"phone"`
}
